export function createButton(label: string): HTMLButtonElement {
  const button = document.createElement("button");
  button.textContent = label;
  return button;
}

export function appendButtonToBody(button: HTMLButtonElement): void {
  document.body.appendChild(button);
}

export function removeButtonFromBody(button: HTMLButtonElement): void {
  document.body.removeChild(button);
}
